package com.lagou.service;


import com.lagou.pojo.Course;

import java.util.List;
import java.util.Map;

/**
 * the sevice interface
 */
public interface CourseService {

    public List<Course> findCourseList();

    public List<Course> findByCourseNameAndStatus(String userName, String status );

    public String saveCourseSalesInfo(Course course);

    public Course findCourseByCourseId(int id);

    public String updateCourseSalesInfo(Course course);

    public Map<String, Integer> updateCourseStatus(Course course);


}
